package cn.antho.user.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class PhoneRegisterDto {

    // 手机号
    @NotBlank(message = "手机号不可为空！")
    private String phone;

    // 短信验证码
    @NotBlank(message = "短信验证码不可为空！")
    private String smsCode;

    // 密码
    @NotBlank(message = "密码不可为空！")
    private String password;

    // 确认密码
    @NotBlank(message = "确认密码不可为空！")
    private String passwordRepeat;

}
